login
Header Space

 
 

Re: pf tag goes missing post sshd tcp decapsulization

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Thursday, March 6, 2008 - 2:08 am

Hi everybody,


I liked the idea, too. So here is what I've done so far. It work till
now for tcp but it should be no problem to do it for udp also. (Or to
do it generally for ip)

To set the sockopt you have to write it this way:
 setsockopt( create_socket, SOL_SOCKET, SO_PFTAG, tag, strlen(tag) + 1);
 getsockopt( create_socket, SOL_SOCKET, SO_PFTAG, bla, &a);

Bye
Konrad

[demime 1.01d removed an attachment of type application/octet-stream which had a name of sockopt.diff]
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: pf tag goes missing post sshd tcp decapsulization, Giancarlo Razzolini, (Mon Mar 3, 9:30 am)
Re: pf tag goes missing post sshd tcp decapsulization, Henning Brauer, (Mon Mar 3, 11:19 am)
Re: pf tag goes missing post sshd tcp decapsulization, Giancarlo Razzolini, (Mon Mar 3, 12:02 pm)
Re: pf tag goes missing post sshd tcp decapsulization, Giancarlo Razzolini, (Mon Mar 3, 2:02 pm)
Re: pf tag goes missing post sshd tcp decapsulization, Reyk Floeter, (Tue Mar 4, 6:15 am)
Re: pf tag goes missing post sshd tcp decapsulization, Konrad, (Thu Mar 6, 2:08 am)
Re: pf tag goes missing post sshd tcp decapsulization , Theo de Raadt, (Thu Mar 6, 2:35 am)
Re: pf tag goes missing post sshd tcp decapsulization, Henning Brauer, (Mon Mar 3, 9:08 am)
speck-geostationary